package com.ff.cms.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ff.cms.bean.Article;
import com.ff.cms.bean.Type;
import com.ff.cms.bean.User;
import com.ff.cms.dao.ArticleMapper;
import com.ff.cms.dao.EchartsMapper;

@Service
@Transactional
public class EchartsService {

	
	 @Autowired
     EchartsMapper echartsMapper;
	 
	 


	public List<String> findTypeName() {
		// TODO Auto-generated method stub
		return echartsMapper.findTypeName();
	}




	public List<Integer> findTypeCount() {
		// TODO Auto-generated method stub
		return echartsMapper.findTypeCount();
	}




	public List<Integer> findTypeCount1(int status) {
		// TODO Auto-generated method stub
		return echartsMapper.findTypeCount1(status);
	}

	
	
}
